@import 'var';

// 收起菜单
.collapseDiv {
  width: 232px;
  height: var(--collapse-height);
  // border-radius: 0 0 12px 12px;
  opacity: 1;
  border-top: 1px solid #ffffff33;
  position: absolute;
  bottom: 0;
  :hover {
    background: none;
  }
}

/* 用于切底部圆角 */
.box-footer {
  position: absolute;
  bottom: 0;
  left: var(--left-menu-max-width);
  width: 34px;
  height: var(--collapse-height);
  opacity: 1;
  background: #1d5ea3;

  // &::before {
  //   width: 100%;
  //   height: 100%;
  //   border-radius: 0 0 0 30px;
  //   background-color: #f4f7ff;
  //   position: absolute;
  //   top: 0;
  //   right: 0;
  //   content: '';
  // }
}

// 顶部色块
.box-top {
  width: 34px;
  height: 34px;
  position: absolute;
  top: 0;
  left: calc(var(--left-menu-max-width) - 34px);
  opacity: 1;
  background: linear-gradient(180deg, #6bb2f6 0%, #89c3f8 99%);

  &::before {
    width: 100%;
    height: 100%;
    border-radius: 0 30px 0 0;
    background-color: #2879dc;
    position: absolute;
    top: 0;
    right: 0;
    content: '';
  }
}

//展开菜单
.collapse-div-top {
  position: absolute;
  top: 0;
  z-index: 999;
}

//展开区域树
.collapse-div-trre {
  position: absolute;
  top: 140px;
  z-index: 999;
}

//展开区域树
.collapse-div-trre1 {
  position: absolute;
  top: 0;
  left: var(--left-menu-max-width);
  z-index: 1;
}

//左侧菜单背景颜色
.meun-bg-blue-linear {
  background: linear-gradient(180deg, #2879dc 5%, #1d5da2 100%);
}

//右上圆角
.border-radius-top-right-36 {
  border-radius: 0 36px 0 0;
  -webkit-border-radius: 0 36px 0 0;
  -moz-border-radius: 0 36px 0 0;
  -ms-border-radius: 0 36px 0 0;
  -o-border-radius: 0 36px 0 0;
}

//主体底部颜色
.fixed-buttom {
  position: absolute;
  bottom: 0;
  height: var(--collapse-height);
  width: 100%;
  background: #1d5ea4;

  div {
    height: 100%;
    width: 100%;
    background-color: white;
    border-radius: 0 0 0 36px;
    -webkit-border-radius: 0 0 0 36px;
    -moz-border-radius: 0 0 0 36px;
    -ms-border-radius: 0 0 0 36px;
    -o-border-radius: 0 0 0 36px;
  }
}

.radius-36 {
  border-radius: 0 0 0 36px;
}

.meun-padding-top {
  padding: 12px;
}
//主题底部颜色
// .fixed-body-buttom {
//   &::before {
//     content: '';
//     width: 100%;
//     height: 100%;
//     background: white;
//   }
// }

.bg-img {
  background-image: url('@/assets/imgs/bg/bg.png');
  background-size: cover;
  background-repeat: no-repeat;
}

//返回主菜单按钮
.to-index {
  width: 124px;
  height: 38px;
  border-radius: 8px;
  opacity: 1;
  background: #1b7ee7;
}
